package com.awei.study.design.structure.decorator;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

/**
 * @Author liweilong
 * @Date 2024/8/8 11:38
 * JDK源码解析
 */
public class Demo {
    public static void main(String[] args) throws IOException {
        FileWriter fileWriter = new FileWriter("D:\\idea_project\\study\\src\\main\\resources\\a.txt");
        BufferedWriter bw = new BufferedWriter(fileWriter);
        bw.write("123");
        bw.close();
    }
}
